<template>
  <div id="footer">
    <div>
      <router-link to="HomePage">
        <img src="../../../../assets/binbing/mineImg/house.png" />
        <p>首页</p>
      </router-link>
    </div>
    <div>
      <img src="../../../../assets/binbing/mineImg/footer02.png" />
      <p>分类</p>
    </div>
    <div>
      <img src="../../../../assets/binbing/mineImg/footer03.png" />
      <p>发现</p>
    </div>
    <div>
      <img src="../../../../assets/binbing/mineImg/footer04.png" />
      <p>购物车</p>
    </div>
    <div>
      <img src="../../../../assets/binbing/mineImg/me.png" />
      <p style="color: #bf0000">我的</p>
    </div>
  </div>
</template>

<script>
export default {
  name: "FooterNav",
};
</script>

<style scoped>
#footer {
  width: 100%;
  height: 0.56rem;
  background-color: rgb(241, 243, 245);
  display: flex;
  justify-content: space-between;
  position: fixed;
  bottom: 0;
  z-index: 999;
  border-top: 0.01rem solid rgba(0, 0, 0, 0.05);
}
#footer div {
  height: 0.56rem;
  width: auto;
  padding: 0.08rem 0.04rem 0 0.04rem;
  flex: 1;
  text-align: center;
  position: relative;
  box-sizing: border-box;
}
#footer div img {
  width: 0.24rem;
  height: 0.24rem;
  display: block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
#footer div p {
  font-size: 0.1rem;
  line-height: 0.14rem;
}
</style>